import Layout                  from "@/layout/index.vue"
import { createNameComponent } from "../createNode"

const route = [
    {
        path     : "/group",
        component: Layout,
        redirect : "/group/manager",
        meta     : { title: "聚类与分类分析", icon: "sfont system-page" },
        children : [
            {
                path     : "kmeans",
                component: createNameComponent(() => import("@/views/main/group/kmeans/Kmeans.vue")),
                meta     : { title: "K-Means聚类分析", icon: "sfont system-page" },
            },
            {
                path     : "hierarchical",
                component: createNameComponent(() => import("@/views/main/group/hierarchical/Hierarchical.vue")),
                meta     : { title: "层次聚类分析", icon: "sfont system-page" },
            },
            {
                path     : "density",
                component: createNameComponent(() => import("@/views/main/group/density/Density.vue")),
                meta     : { title: "密度聚类分析", icon: "sfont system-page" },
            },
            {
                path     : "correlation",
                component: createNameComponent(() => import("@/views/main/group/correlation/Correlation.vue")),
                meta     : { title: "关联度分析", icon: "sfont system-page" },
            },
        
        ],
    },
]

export default route
